<template>
  <el-form-item label="默认值">
    <el-date-picker v-model="obj.value"> </el-date-picker>
  </el-form-item>
  <el-form-item label="格式">
    <el-input v-model="obj.props.valueFormat"></el-input>
  </el-form-item>
</template>

<script lang="ts">
export default {
  name: 'dataPickerConfig'
}
</script>
<script lang="ts" setup>
import { toRefs, defineProps } from 'vue'
import { type Basis } from '@/types/element'
const props = defineProps<{
  obj: Basis
}>()
const { obj } = toRefs(props)
</script>
